font chooser: Add a CSS name
authorMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jan 2016 04:42:35 +0000 (23:42 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jan 2016 04:42:35 +0000 (23:42 -0500)
The CSS name for GtkFontChooserWidget is fontchooser.

gtk/gtkfontchooserwidget.c

index 62e7c0aa19e6033fa52713491a62e9ca6f80f4c5..0f6208285eb95b4b4c92bfd967f75e6dad90251a 100644 (file)
  * gtk_font_chooser_set_preview_text().
  *
  * Since: 3.2
+ *
+ * # CSS nodes
+ *
+ * GtkFontChooserWidget has a single CSS node with name fontchooser.
  */
 
 
@@ -611,6 +615,8 @@ gtk_font_chooser_widget_class_init (GtkFontChooserWidgetClass *klass)
   gtk_widget_class_bind_template_callback (widget_class, row_deleted_cb);
   gtk_widget_class_bind_template_callback (widget_class, size_change_cb);
   gtk_widget_class_bind_template_callback (widget_class, output_cb);
+
+  gtk_widget_class_set_css_name (widget_class, "fontchooser");
 }
 
 static void